<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
	
	class Categories extends Admin_Controller{
		public function __construct(){
			parent::__construct();
			$this->load->model('database_model');
		}

		public function index(){
			if(!is_user_logged_in()){
				redirect('admin/login','refresh');
			}

			$data = array(
				'header' => 'Categories',
				'menu_active' =>"3.3",
				);
			$this->load->view('admin/categories', $data);
		}
	}
?>